package cn.zmwh.bbs.modules.bbs.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 用户附件下载
 * </p>
 *
 * @author dmzmwh
 * @since 2025-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("forum_article_attachment_download")
@ApiModel(value="ForumArticleAttachmentDownload对象", description="用户附件下载")
public class ForumArticleAttachmentDownload implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long uid;

    @ApiModelProperty(value = "文件ID")
    private Long fileId;

    @ApiModelProperty(value = "文章ID")
    private String articleId;

    @ApiModelProperty(value = "文件下载次数")
    private Integer downloadCount;


}
